package com.springboot.chongwu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.springboot.chongwu.entity.SysManager;
import com.springboot.chongwu.entity.search.SysManagerSearch;
import com.springboot.chongwu.entity.view.SysManagerView;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 后台账户表 Mapper 接口
 * </p>
 *
 * @author astupidcoder
 * @since 2021-06-16
 */
public interface SysManagerMapper extends BaseMapper<SysManager> {

    /**
     * 列表
     * @param iPage
     * @param hjManagerSearch
     * @return
     */
    List<SysManagerView> getPageList(@Param("iPage") IPage iPage, @Param("obj") SysManagerSearch hjManagerSearch);


    /**
     * 导出账户
     * @param search
     * @return
     */
    List<SysManagerView> downLoadList(@Param("obj") SysManagerSearch search);


}
